import becker.robots.City;
import becker.robots.Direction;

/**
 * Runs the required methods to allow a TrailBot to run a user generated trail.
 * 
 * @author Mohammad Abubakr
 * @since March 23, 2012
 * 
 */
public class Main {
	City cityOfThings = new City("trail.txt"); // The city that contains a user
	// generated trail.
	TrailBot firstTrailBot = new TrailBot(cityOfThings, 9, 9, Direction.EAST); // The

	// TrailBot
	// that
	// is
	// to
	// be
	// running
	// the
	// trail.

	public Main() {
		while (firstTrailBot.canPickThing()) {
			firstTrailBot.trailMove();
		}
	}

	public static void main(String[] args) {
		new Main();
	}
}

/*
 * MARKS: - Improper indentation -1 - Ifs and Loops need comments -1 - Unable to
 * continue moving after Robot has moved around a wall -2
 * 
 * C: 8/10 A: 12/14
 */
